<admintpl file="header" />
</head>
<body>
	<div class="wrap">
		<ul class="nav nav-tabs">
			<li><a href="{:U('Realuser/index')}">注册用户</a></li>
			<li><a href="{:U('Realuser/prizelist')}">中奖用户</a></li>
			<li class="active"><a>充值</a></li>
		</ul>
			<table class="table table-hover table-bordered">
				<tbody>
					<tr>
						<th width="100">ID</th>
						<td>{$user.id}</td>
						<th>用户名</th>
						<td>{$user.username}</td>
						<th>昵称</th>
						<td>{$user.nickname}</td>
						<th>姓名</th>
						<td>{$user.realname}</td>
						<th>性别</th>
						<td>{$gender[$user['gender']]['name']}</td>
					</tr>
					<tr>
						<th>电话</th>
						<td>{$user.phone}</td>
						<th>邮箱</th>
						<td>{$user.email}</td>
						<th>地址</th>
						<td>{$user.address}</td>
						<th>微信ID</th>
						<td>{$user.weixin_id}</td>
						<th>金额</th>
						<td>{$userwallet.money}</td>
					</tr>
				</tbody>
			</table>
            <form action="{:U('Realuser/htRecharge',array('id'=>$user['id']))}" method="post" class="form-horizontal" >
                <input type="text" name="userid" value="{$user.id}" style="display: none">
                <div class="control-group">
                    <label class="control-label" for="inputEmail">金额</label>
                    <div class="controls">
                        <input type="text" name="amount" id="inputEmail" placeholder="金额">元
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="inputPassword">充值密码</label>
                    <div class="controls">
                        <input type="password" name="password" id="inputPassword" placeholder="充值密码">必填
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="inputRemarks">添加说明</label>
                    <div class="controls">
                        <input type="text" name="remarks" id="inputRemarks" placeholder="金额">
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <button type="submit" class="btn">提交</button>
                    </div>
                </div>
            </form>
            <div class="form-actions">
                <a class="btn" href="{:U('Realuser/index')}">返回</a>
            </div>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>
